package com.iamback.dy.examine.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iamback.dy.entity.DyUser;
import com.iamback.dy.examine.service.IDyUserService;
import com.iamback.dy.mapper.DyUserMapper;

@Service
public class DyUserServiceImpl   implements IDyUserService {

	@Autowired
	private DyUserMapper dyUserDao;

	@Override
	public DyUser findDyUserByDyId(String dyId) {
		return dyUserDao.findDyUserByDyId(dyId);
	}
	
	@Override
	public void updateDyUser(DyUser dyUser){
		dyUserDao.updateDyUserBlocked(dyUser); 
	}
}
